function printPoint(point: {x: number, y: number}) {
    console.log(point.x)
    console.log(point.y)
}

printPoint({x: 123, y: 312})